package com.lbd.finance.dao;

import com.lbd.finance.bean.WebTradeDetail;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;
import java.util.List;

/**
 * 平台交易记录
 */
public interface WebTradeDetailRepository
        extends PagingAndSortingRepository<WebTradeDetail, Serializable>, JpaSpecificationExecutor<WebTradeDetail> {

    List<WebTradeDetail> findByIsStatisticOrderByCreatedDate(Boolean isStatistic);
}